<?php /* Smarty version 2.6.20, created on 2017-07-05 23:19:21
         compiled from admin_member.htm */ ?>
<script src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/script/my_lightbox.js" language="javascript"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/script/district.js" ></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/script/jquery.validation.min.js"></script>
<script language="javascript">
	var weburl="<?php echo $this->_tpl_vars['config']['weburl']; ?>
";

</script>

<header>
	<div class="nav-w">
    	<section class="nav-s"><a href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/main.php"><nav>用户中心</nav></a></section>
    	<section class="nav-c"><span>基本资料</span></section>
    	<section class="nav-e"></section>
    </div>
</header>
<link href="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/templates/wap/css/orderadder.css" rel="stylesheet" type="text/css" />
<section class="orderadder">
	<form id="form" name="form" action="" method="post">
		<input name="logo" type="hidden" id="logo" value="<?php echo $this->_tpl_vars['de']['logo']; ?>
">
		<input type="hidden" value="<?php echo $_GET['m']; ?>
" name="m">
		<input type="hidden" value="<?php echo $_GET['s']; ?>
" name="s">
		<input type="hidden" name="uid" value="<?php echo $this->_tpl_vars['buid']; ?>
" />
		<input type="hidden" value="wap_submit" name="submit">

		<dl>
			<dt class="wap_member_logo">
				<img id="logo_img" src="<?php if ($this->_tpl_vars['de']['logo']): ?><?php echo $this->_tpl_vars['de']['logo']; ?>
<?php else: ?><?php echo $this->_tpl_vars['config']['weburl']; ?>
/image/default/user_admin/default_user_portrait.gif<?php endif; ?>" height="60" width="60" />
				<a href="javascript:uploadfile('LOGO','logo',60,60,'member')"><?php echo $this->_tpl_vars['lang']['upload']; ?>
</a>
			</dt>
		</dl>
		<div class="clearfix"></div>

		<dl>
			<dt>用户名称：</dt>
			<dd><input type="text" maxlength="60" name="user" readonly value="<?php echo $_COOKIE['USER']; ?>
"> <div id="form-error" class="form-error"></div></dd>
		</dl>
		<dl>
			<dt>真实姓名：</dt>
			<dd><input type="text" name="name" id="name" maxlength="18" value="<?php echo $this->_tpl_vars['de']['name']; ?>
"><div id="form-error" class="form-error"></div></dd>
		</dl>

		<dl>
			<dt>手机：</dt>
			<dd><input type="text" name="mobile" id="mobile" maxlength="18" value="<?php echo $this->_tpl_vars['de']['mobile']; ?>
"><div id="form-error" class="form-error"></div></dd>
		</dl>

		<dl>
			<dt>所在区域：
				<input type="hidden" name="t" id="t" value="<?php echo $this->_tpl_vars['de']['area']; ?>
" />
				<input type="hidden" name="provinceid" id="id_1" value="<?php echo $this->_tpl_vars['de']['provinceid']; ?>
" />
				<input type="hidden" name="cityid" id="id_2" value="<?php echo $this->_tpl_vars['de']['cityid']; ?>
" />
				<input type="hidden" name="areaid" id="id_3" value="<?php echo $this->_tpl_vars['de']['areaid']; ?>
" />
			</dt>
			<?php if ($this->_tpl_vars['de']['area']): ?>
			<dd id="d_1"><?php echo $this->_tpl_vars['de']['area']; ?>
&nbsp;&nbsp;<a href="javascript:sd();">编辑</a></dd><?php endif; ?>
			<dd id="d_2" class="<?php if ($this->_tpl_vars['de']['area']): ?>hidden<?php endif; ?>">
				<select id="select_1" name="select_1" onChange="selClass(this);">
					<option value="">--请选择--</option>
					<?php echo $this->_tpl_vars['prov']; ?>

				</select>
				<select id="select_2" name="select_2" onChange="selClass(this);" class="hidden"></select>

				<select id="select_3" name="select_3" onChange="selClass(this);" class="hidden"></select>
				<div id="form-error" class="form-error"></div>
			</dd>
		</dl>
		<dl>
			<dt>详细信息：</dt>
			<dd>
				<input type="text" value="<?php echo $this->_tpl_vars['de']['area']; ?>
" name="area" id="area"><div id="form-error" class="form-error"></div>
			</dd>
		</dl>

		<dl>
			<dt>QQ：</dt>
			<dd>
				<input type="text" value="<?php echo $this->_tpl_vars['de']['qq']; ?>
" name="qq" ><div id="form-error" class="form-error"></div>
			</dd>
		</dl>

		<input type="submit" value="保存" class="submit">
	</form>
</section>